package fang.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class AttrController {

    @RequestMapping("/attr")
    public String attr(Model model) {
        model.addAttribute("myAction", "/user/login");
        model.addAttribute("myText", "请登录");
        model.addAttribute("checked", true);
        model.addAttribute("unchecked", false);
        return "attr";
    }
}
